package org.example.MedicalCrowdsourcing.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 项目数据传输对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectDTO {
    private Long id;
    private String title;
    private String description;
    private LocalDateTime startDate;
    private LocalDateTime endDate;
    private Integer requiredParticipants;
    private String requiredDataTypes;
    private String participantCriteria;
    private BigDecimal compensationAmount;
    private String status;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    
    private Long researcherId;
    private String researcherName;
    
    private Integer participantsCount;
    private List<String> participants;
} 